package com.ruoyi.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 前台用户登录对象
 */
@Data
@ApiModel(value = "前台用户登录",description = "前台用户登录")
public class FrontUserLoginDto {

    @ApiModelProperty(value = "工号",required = true)
    @NotBlank(message = "工号不能为空")
    private String jobNo;

    @ApiModelProperty(value = "密码")
    @NotBlank(message = "密码")
    private String password;


}
